package com.shycloud.mido.opter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.opter.api.entity.StockSaleOrder;
import com.shycloud.mido.opter.api.vo.StockSaleOrderVO;
import org.apache.ibatis.annotations.Param;

/**
 * @author Xiaoxing Yu
 * @date 2020/9/23
 **/
public interface StockSaleOrderMapper extends BaseMapper<StockSaleOrder> {

	IPage<StockSaleOrderVO> pageSaleOrders(@Param("page") Page page,
			@Param("commitStatus") String commitStatus,
			@Param("outStatus") String outStatus,
			@Param("createdBy") String createdBy,
			@Param("outType") String outType,
			@Param("startDate") String startDate,
			@Param("endDate") String endDate,
			@Param("searchName") String searchName,
			@Param("comments") String comments,
			@Param("processStatus") String processStatus,
			@Param("orderNo") String orderNo);

	IPage<StockSaleOrderVO> pageProcessList(@Param("page") Page page,
			@Param("commitStatus") String commitStatus,
			@Param("outStatus") String outStatus,
			@Param("createdBy") String createdBy,
			@Param("outType") String outType,
			@Param("startDate") String startDate,
			@Param("endDate") String endDate,
			@Param("searchName") String searchName,
			@Param("comments") String comments);
}
